package com.lanyam.travel.base.entity.base;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author KingTang
 * @date   2019/12/20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BaseEntity implements Serializable {

    /**
     * 创建时间
     */
    @JsonIgnore
    private Date sysCreateTime;

    /**
     * 创建ID
     */
    @JsonIgnore
    private Integer sysCreateId;

    /**
     * 修改时间
     */
    @JsonIgnore
    private Date sysUpdateTime;

    /**
     * 修改ID
     */
    @JsonIgnore
    private Integer sysUpdateId;

    /**
     * 删除标志
     */
    @JsonIgnore
    @TableLogic
    private Integer sysDelFlag;

}
